package com.honda.hondatimingmonitor.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "message.info")
public class MessageInfo {
    /**
     * app名字
     */
    private String app;

    /**
     * 白天定时时间
     */
    private Integer day;

    /**
     * 夜晚定时时间
     */
    private Integer night;
    /**
     * 表名
     */
    private String tableA;
    private String tableB;
    /**
     * 短信消息
     */
    private String msg;
}
